﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Entity
{
    //如果好用，请收藏地址，帮忙分享。
    public class Data2
    {
        /// <summary>
        /// 
        /// </summary>
        public string SCHEMA_NAME { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PRJ_NO { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string DESCRIPTION { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string OBJTYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int ROWS { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string DATASIZE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string INDEXSIZE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string RESERVEDSIZE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string UNUSEDSIZE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string CREATEDATE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string MODIFYDATE { get; set; }
    }

    public class DataSourceItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string SCHEMA_NAME { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PRJ_NO { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FLD_NAME { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FLD_POS { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FLD_PRIMARYKEY { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FLD_AUTOINCREMENT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FLD_DATATYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FLD_LENGTH { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FLD_DEC { get; set; }
        /// <summary>
        /// 物料
        /// </summary>
        public string FLD_DESCRIPTION { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FLD_DATASQLTYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FLD_NULLABLE { get; set; }
    }

    public class Data1
    {
        /// <summary>
        /// 
        /// </summary>
        public Data2 Data { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<DataSourceItem> DataSource { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> SortFields { get; set; }
    }

    public class SchemaData
    {
        /// <summary>
        /// 
        /// </summary>
        public Data1 data { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string message { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string stackTrace { get; set; }
    }



    //如果好用，请收藏地址，帮忙分享。
    public class DataSourceItemex
    {
        /// <summary>
        /// 
        /// </summary>
        public string PRJ_NO { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string SCHEMA_NAME { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FLD_NAME { get; set; }
        /// <summary>
        /// 库存地编号1
        /// </summary>
        public string FLD_DESCRIPTION { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FLD_POS { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FLD_PRIMARYKEY { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FLD_AUTOINCREMENT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FLD_DATATYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FLD_LENGTH { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FLD_DEC { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FLD_DATASQLTYPE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int FLD_NULLABLE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string __ObjectState { get; set; } = "Modified";
    }

}
